﻿using WeDonekRpc.Helper.Validate;

namespace Basic.FlowRemoteModel.NodeEvent.Model
{
    public class NodeEventSet
    {
        [NumValidate("flow.id.error", 1)]
        public long FlowId
        {
            get;
            set;
        }
        [NumValidate("flow.node.id.error", 1)]
        public long NodeId
        {
            get;
            set;
        }
        [EnumValidate("flow.event.type.error", typeof(FlowEventType))]
        public FlowEventType EventType
        {
            get;
            set;
        }

        public long EventId
        {
            get;
            set;
        }
    }
}
